home *** CD-ROM | disk | FTP | other *** search
/ MIDICraft's MIDINET CD-ROM / MIDICraft's MIDINET CD-ROM.iso / DOSUTILS / MIDIPLAY.DOC < prev    next >
Text File  |  1997-01-12  |  4KB  |  121 lines

  1.         ******************************
  2.                  MIDIPLAY 1.0
  3.         (Midiplayer for DOS with MPU, SOUNDBLASTER)
  4.     
  5.               by Guenter Nagler 
  6.                 1997 
  7.           (gnagler@ihm.tu-graz.ac.at)
  8.         ******************************
  9.  
  10. [1] BACKGROUND
  11.  
  12. This program was an experiment to get more knowledge about
  13. * midi format
  14. * midi communication with soundcards and keyboards
  15. * exact timing with a dos machine (win95 dos shell compatible)
  16.  
  17. [2] FILES DESCRIPTION
  18.  
  19. MIDIPLAY.EXE........MSDOS executable for playing standard midi files
  20. MIDI1TO0.EXE........MSDOS executable for converting format 1 midi to format 0
  21. MIDIPLAY.DOC........this file, showing usage of MIDIPLAY.EXE
  22. Only MIDIPLAY.EXE is needed to play format 0 files.
  23. MIDIPLAY.EXE and MIDI1TO0.EXE is needed to play format 1 files too.
  24.  
  25. [3] COPYRIGHT
  26.  
  27. MIDIPLAY (c) 1997 were created by Guenter Nagler.
  28.  
  29. MIDIPLAY is free and may be used as you wish with this one exception:
  30.  
  31.     You may NOT charge any fee or derive any profit for distribution
  32.     of MIDIPLAY.  Thus, you may NOT sell or bundle MIDIPLAY
  33.     with any product in a retail environment (shareware disk distribution, 
  34.     CD-ROM, etc.) without permission of the author.
  35.  
  36. You may give MIDIPLAY to your friends, upload it to a BBS, or ftp it to
  37. another internet site, as long as you don't charge anything for it.
  38.  
  39. [4] DISCLAIMER
  40.  
  41. MIDIPLAY was designed to read standard midi files and to play 
  42. General Midi compatible files through external midi port (keyboards
  43. or Wavetableboards) using original Roland MPU-401 (tm) and 
  44. Creative Labs Soundblaster (tm) midi interfaces.
  45.  
  46. Use MIDIPLAY at your own risk.  Anything you do with MIDIPLAY is your
  47. responsibility, and not the author's.  Any damage caused to any person,
  48. computer, software, hardware, company, or business by running MIDIPLAY 
  49. is your responsibility, and the author will not be liable.
  50.  
  51. If you don't understand these terms, or are not sure of something, or
  52. are afraid something bad might come of using MIDIPLAY, don't  use  it!
  53. You are here forewarned.
  54.  
  55. [5] INSTALLATION 
  56.  
  57.   Simply copy MIDIPLAY.EXE and MIDI1TO0 into a directory that is in your path.
  58.  
  59.   C:\> MIDIPLAY 
  60.  
  61.   you should get the usage text (see next section)
  62.  
  63. [6] USAGE
  64.  
  65. usage: midiplay [-gm] [-nolyric] [-from #][-till #] [-c #] file.mid
  66.  
  67. Option -gm sends GM initialization sysex.
  68. Option -nolyric suppresses output of text.
  69. Option -from can be used to start at second #.
  70. Option -till can be used to exit at second #.
  71. Option -c plays only channel # (1-16).
  72. Option -showtime displays playing time.
  73.  
  74. MIDIPLAY automatically starts MIDI1TO0.EXE to convert midi file format 
  75. 1 into format 0 before playing it.
  76.  
  77. Important:
  78.   This program works only with a MPU-401 or Soundblaster compatible 
  79.   midi interface. For soundblaster cards the environment variable BLASTER
  80.   must be set to select the correct soundcard port number (A220,A240,A260,A280).
  81.   The MPU midi port must be 300 or 330 or specified in the environment variable 
  82.   MPU (hexadezimal port number).
  83.  
  84. e.g. 
  85. set BLASTER=A240 I5 D0 H5 P300 T6  
  86. set MPU=210
  87.  
  88.   
  89. [7] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
  90.  
  91.          WWW:    http://hgiicm.tu-graz.ac.at/Cpub
  92.           contains all my dos/unix midi programs
  93.          EMAIL:  gnagler@ihm.tu-graz.ac.at
  94.  
  95. [8] EXAMPLES
  96.  
  97. Simply play a midi file test.mid:
  98.  
  99. c:> midiplay test.mid
  100.  
  101. Include initialization GM before playing:
  102.  
  103. c:> midiplay -gm test.mid
  104.  
  105. Show time also:
  106. c:> midiplay -gm -s test.mid
  107.  
  108. A Batch file to play intro of a song (10 sec)
  109. midiintr.bat:
  110. @echo off
  111. midiplay -gm -till 10 %1 
  112.  
  113.  
  114. Play intro of a song with this batch:
  115. c:> midiintr test.mid
  116.  
  117. Play part of a song:
  118. c:> midiplay -gm -from 112 -till 146 test.mid
  119.  
  120. The midi player can be aborted by <esc> key.
  121.